package com.hurui.xiaoming.activity.main;


import com.hurui.xiaoming.R;
import com.hurui.xiaoming.fragment.main.HomeFragment;
import com.hurui.xiaoming.fragment.main.MeFragment;

/**
 * Created by Administrator on 2017/6/13.
 */

public enum MainTab {
    FIRST(0, R.string.frist,R.drawable.bg_bottom_icon_1, HomeFragment.class),
    SECOND(1,R.string.second, R.drawable.bg_bottom_icon_2, MeFragment.class),
    FIFTH(3,R.string.third,R.drawable.bg_bottom_icon_3,HomeFragment.class);

    private int index,resName,resIcon;
    Class<?> clz;
    private MainTab(int index, int resName, int resIcon, Class<?> clz){
        this.index=index;
        this.resName=resName;
        this.resIcon=resIcon;
        this.clz=clz;
    }
    public int getIndex() {
        return index;
    }
    public void setIndex(int index) {
        this.index = index;
    }
    public int getResName() {
        return resName;
    }
    public void setResName(int resName) {
        this.resName = resName;
    }
    public int getResIcon() {
        return resIcon;
    }
    public void setResIcon(int resIcon) {
        this.resIcon = resIcon;
    }
    public Class<?> getClz() {
        return clz;
    }
    public void setClz(Class<?> clz) {
        this.clz = clz;
    }
}
